WPManageNinja\WPOrm\ModelQueryBuilder B

Total Complexity 87
Dependencies 4
Dependents 8
Total lines 475
Lines of code 299
Logical lines of code 155
Comment lines 0
Methods 51
Properties 3

Methods 51

Method Rating Maintainability Complexity Lines of code
destroy()
S
58 5 15
has()
S
55 4 19
paginate()
S
61 4 11
parseRelations()
S
62 3 12
parseNested()
S
62 3 11
eagerLoadRelations()
S
66 3 8
firstOrCreate()
S
66 3 8
get()
S
69 3 7
hydrate()
S
66 3 9
nestedRelations()
S
64 3 9
hasNested()
S
62 2 11
__call()
S
70 2 6
when()
S
72 2 6
with()
S
70 2 6
without()
S
70 2 6
firstOrFail()
S
66 2 8
getRelation()
S
65 2 10
findOrFail()
S
66 2 8
isNested()
S
76 2 3
withoutGlobalScope()
S
69 2 7
update()
S
67 2 8
forwardCallToQueryBuilderHandler()
S
73 2 4
getBindings()
S
81 1 3
loadRelation()
S
66 1 8
getEagerLoads()
S
82 1 3
hasEagerLoads()
S
80 1 3
withoutGlobalScopes()
S
81 1 3
getColumns()
S
72 1 5
getModel()
S
82 1 3
toSql()
S
71 1 6
__construct()
S
77 1 4
getRawSql()
S
81 1 3
firstOrNew()
S
79 1 3
updateOrCreate()
S
73 1 5
delete()
S
81 1 3
all()
S
81 1 3
getModels()
S
80 1 3
find()
S
79 1 3
fresh()
S
75 1 5
first()
S
80 1 3
whereHas()
S
78 1 3
getSql()
S
81 1 3
orHas()
S
78 1 3
orWhereHas()
S
78 1 3
doesNotHave()
S
78 1 3
orDoesNotHave()
S
79 1 3
whereDoesNotHave()
S
79 1 3
create()
S
74 1 5
getHasRelationQuery()
S
73 1 6
getQuery()
S
82 1 3
orWhereDoesNotHave()
S
79 1 3